package com.hlb.ssm.page;

import com.github.pagehelper.PageInfo;
import com.hlb.ssm.pojo.Student;

import java.util.List;

/**
 * Created by Administrator on 2016/12/18.
 */
public class Page <T>{
    private Integer pageSize=10;
    private PageInfo <Student>pageInfo;
    private List<Student> list;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public PageInfo<Student> getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo<Student> pageInfo) {
        this.pageInfo = pageInfo;
    }

    public List<Student> getList() {
        return list;
    }

    public void setList(List<Student> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Page{" +
                "pageSize=" + pageSize +
                ", pageInfo=" + pageInfo +
                ", list=" + list +
                '}';
    }
}
